.PHONY:all
all:calserver calclient

calserver:ServerMain.cc
	g++ -o $@ $^ -std=c++14 -lpthread -ljsoncpp
calclient:clientmain.cc
	g++ -o $@ $^ -std=c++14 -lpthread -ljsoncpp

.PHONY:clean
clean:
	rm -f calserver calclient